import Layout from '@/layout'

const router = {
    path: '/warning',
    component: Layout,
    name: 'warning',
    alwaysShow: true,
    meta: {
        title: '预警管理',
        icon: 'warning'
    },
    children: [
        {
            path: '/warning/lack',
            component: () => import('@/views/warning/lack/lacklist'),
            name: 'lacklist',
            meta: {
                title: '缺货预警'
            },
        },
        {
            path: '/warning/overflow',
            component: () => import('@/views/warning/lack/lacklist'),
            name: 'lacklist1',
            meta: {
                title: '积货预警'
            },
        },
        {
            path: '/warning/updown',
            component: () => import('@/views/warning/updown/updownlist'),
            name: 'updownlist',
            meta: {
                title: '库存上下限调整'
            },
        },
        {
            path: '/warning/nearTerm',
            component: () => import('@/views/warning/nearTerm/nearTermlist'),
            name: 'nearTermlist',
            meta: {
                title: '近效期'
            },
        },
    ]
}

export default router
